package com.bailian.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bailian.common.annotation.Excel;
import com.bailian.common.core.domain.BaseEntity;

/**
 * 企业资讯对象 bl_news
 * 
 * @author bailian
 * @date 2025-08-04
 */
public class BlNews extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 缩略图 */
    @Excel(name = "缩略图")
    private String thumbnailUrl;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 描述 */
    @Excel(name = "描述")
    private String desc;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 链接地址 */
    @Excel(name = "链接地址")
    private String linkUrl;

    /** 类型id */
    @Excel(name = "类型id")
    private String typeId;

    /** Banner页面类型 */
    @Excel(name = "Banner页面类型")
    private String bannerPage;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setThumbnailUrl(String thumbnailUrl)
    {
        this.thumbnailUrl = thumbnailUrl;
    }

    public String getThumbnailUrl()
    {
        return thumbnailUrl;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setDesc(String desc)
    {
        this.desc = desc;
    }

    public String getDesc()
    {
        return desc;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setLinkUrl(String linkUrl) 
    {
        this.linkUrl = linkUrl;
    }

    public String getLinkUrl() 
    {
        return linkUrl;
    }

    public void setTypeId(String typeId) 
    {
        this.typeId = typeId;
    }

    public String getTypeId() 
    {
        return typeId;
    }

    public void setBannerPage(String bannerPage) 
    {
        this.bannerPage = bannerPage;
    }

    public String getBannerPage() 
    {
        return bannerPage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("thumbnailUrl", getThumbnailUrl())
            .append("title", getTitle())
            .append("desc", getDesc())
            .append("content", getContent())
            .append("linkUrl", getLinkUrl())
            .append("typeId", getTypeId())
            .append("bannerPage", getBannerPage())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
